.class public Lcom/xingbook/huiben/a/a;
.super Lcom/xingbook/b/n;


# instance fields
.field private a:I

.field private b:Ljava/util/ArrayList;

.field private c:Ljava/util/ArrayList;

.field private d:Ljava/util/ArrayList;


# direct methods
.method public constructor <init>(I)V
    .locals 1

    invoke-direct {p0, p1}, Lcom/xingbook/b/n;-><init>(I)V

    const/4 v0, 0x0

    iput v0, p0, Lcom/xingbook/huiben/a/a;->a:I

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/huiben/a/a;->c:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/huiben/a/a;->b:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/huiben/a/a;->d:Ljava/util/ArrayList;

    return-void
.end method


# virtual methods
.method public a()Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/huiben/a/a;->b:Ljava/util/ArrayList;

    return-object v0
.end method

.method public a(I)V
    .locals 0

    iput p1, p0, Lcom/xingbook/huiben/a/a;->a:I

    return-void
.end method

.method public b()Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/huiben/a/a;->c:Ljava/util/ArrayList;

    return-object v0
.end method

.method public c()Ljava/lang/String;
    .locals 1

    invoke-virtual {p0}, Lcom/xingbook/huiben/a/a;->f()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public d()Lcom/xingbook/service/download/g;
    .locals 1

    const/4 v0, 0x0

    return-object v0
.end method

.method public e()I
    .locals 1

    iget v0, p0, Lcom/xingbook/huiben/a/a;->a:I

    return v0
.end method

.method public h(Ljava/lang/String;)V
    .locals 1

    iget v0, p0, Lcom/xingbook/huiben/a/a;->a:I

    invoke-static {p1, v0}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v0

    invoke-virtual {p0, v0}, Lcom/xingbook/huiben/a/a;->a(I)V

    return-void
.end method

.method public i(Ljava/lang/String;)V
    .locals 8

    const/4 v1, 0x0

    invoke-super {p0, p1}, Lcom/xingbook/b/n;->w(Ljava/lang/String;)V

    const-string v0, "`"

    invoke-virtual {p1, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v2

    array-length v3, v2

    add-int/lit8 v0, v3, 0x1

    div-int/lit8 v4, v0, 0x3

    move v0, v1

    :goto_0
    if-lt v0, v4, :cond_0

    return-void

    :cond_0
    mul-int/lit8 v5, v0, 0x3

    add-int/lit8 v5, v5, 0x1

    if-ge v5, v3, :cond_1

    iget-object v5, p0, Lcom/xingbook/huiben/a/a;->b:Ljava/util/ArrayList;

    mul-int/lit8 v6, v0, 0x3

    aget-object v6, v2, v6

    invoke-static {v6, v1}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v6

    invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    iget-object v5, p0, Lcom/xingbook/huiben/a/a;->c:Ljava/util/ArrayList;

    new-instance v6, Ljava/lang/StringBuilder;

    const-string v7, "http://z.xingbook.com/i/"

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v7, "hb/"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, "zw/"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    mul-int/lit8 v7, v0, 0x3

    add-int/lit8 v7, v7, 0x1

    aget-object v7, v2, v7

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, ".jpg"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    mul-int/lit8 v5, v0, 0x3

    add-int/lit8 v5, v5, 0x2

    if-ge v5, v3, :cond_2

    iget-object v5, p0, Lcom/xingbook/huiben/a/a;->d:Ljava/util/ArrayList;

    mul-int/lit8 v6, v0, 0x3

    add-int/lit8 v6, v6, 0x2

    aget-object v6, v2, v6

    invoke-virtual {v5, v6}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_1
    :goto_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_2
    iget-object v5, p0, Lcom/xingbook/huiben/a/a;->d:Ljava/util/ArrayList;

    const-string v6, ""

    invoke-virtual {v5, v6}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_1
.end method
